﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Error.ascx.cs" Inherits="Components_Error" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableTheming="True">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
        </Scripts>
    </telerik:RadScriptManager>

    <script type="text/javascript">
        (function ($) {
            $(document).ready(function () {

                $(".btn-slide").click(function () {
                    $("#panel").slideToggle("fast");
                    $(this).toggleClass("active"); return false;
                });
            });
        })($telerik.$); 
    </script>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div>
            Lỗi hiển thị trang. Vui lòng thử lại.<a href="#" class="btn-slide" title="Advanced Search" >...</a>
        </div>
        <br />
        <div id="panel">
            <asp:Label ID="lblMessageDetail" runat="server" Text="Mã lỗi" ForeColor="#006600"></asp:Label>
            <br />
        </div>
        <hr />
    </ContentTemplate>
</asp:UpdatePanel>
